import request from '@/utils/request'

// 首页-钻展banner图
export function getBanners() {
  return request({
    url: '/home/getBanners',
    method: 'get',
  })
}
// 首页-推荐商家 & 商品详情页底部推荐商家
export function getRecommendShopList(params) {
  return request({
    url: '/shop/getRecommendShopList',
    method: 'get',
    params,
  })
}
// 商品-首页标签商品（最新，一件起批等
export function getTagGoodsList(params) {
  return request({
    url: '/goods/getTagGoodsList',
    method: 'get',
    params,
  })
}
// 首页-弹窗
export function alertAjax() {
  return request({
    url: '/home/alert',
    method: 'get',
  })
}
